package io.renren.common.rpc;

import lombok.Data;

/**
 * @Author: miaoguoxin
 * @Date: 2019/7/20 20:17
 * @Description:
 */
@Data
public class ApiResult<T> {
    private int code;
    private String msg;
    private T data;

    public ApiResult() {
    }


    public ApiResult(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public ApiResult(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }


}
